using System;
using QFramework;
using QGameFramework.GameBase;

namespace QGameFramework.QInternet
{
    public class ServerMsgProcess : GameBaseLogic
    {
        public override void OnInit()
        {
            base.OnInit();

            //TODO GetModel
        }

        public override void OnUpdate()
        {
            base.OnUpdate();
        }

        public override void OnDestroy()
        {
            base.OnDestroy();
        }

        public void ProcessMSG(ref string msg)
        {
            // TODO 处理消息 发送相关指令
            LogKit.I($"消息中心接收到消息：{msg}");
            msg = String.Empty;
        }
    }
}